package com._520it.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

//缴税
@Setter@Getter
public class Tax {
    private Long id;

    private String taxWay;                      //缴税方式

    private String taxSign;                     //缴税标志

    private String payType;                     //当年应缴类型

    private String taxpayerNumber;              //纳税人识别号

    private String taxpayerCarType;             //缴税车辆类型

    private Long quality;                       //整备质量（千克）
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date previousTaxYear;               //前次纳税年度
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date previousJQTaxpayerEndDate;     //前次交强险止日

    private BigDecimal derateAmount;            //减免金额

    private BigDecimal unitTaxAmount;           //单位计税金额

    private BigDecimal annualUnitTax;           //年单位税额（元）
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date taxpayerBeginDate;             //应缴税起始月份数
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date taxpayerEndDate;               //应缴税终止月份数

    private String taxDeductibleCause;          //减免税原因

    private String taxDeductibleNumber;         //减免税证明号

    private String certificateNumber;           //完税凭证号

    private BigDecimal payable;                     //当年应缴（元）

    private BigDecimal backCost;                      //往年补缴（元）

    private BigDecimal overdueFine;                   //滞纳金（元）

}